<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    <script>
        let a = { name: 'mmm' }  
        console.log(a);

        // 第一个参数传 null 表示 b 没有父级，没有原型，不存在原型链，只是创建字面量的数据
        let b = Object.create(null, {
            name: {
                value: 'ccc'
            }
        })
        console.log(b);
        // console.log(b.hasOwnPrototype("name"));
    </script>
</body>

</html>